9c16bb8b1f1ce4eee0e67b12570eb0ed5a4baa1f,uportal-impl/src/main/java/org/jasig/portal/security/provider/BasicLocalConnectionContext.java,BasicLocalConnectionContext,sendLocalData,#Object#ChannelRuntimeData#,79
Before Change
// encode and set the authentication credentials
modified_connection.setRequestProperty(AUTHORIZATIONHDR,
AUTHORIZATIONTYPE
+ (new BASE64Encoder()).encode(usernameandpassword
.getBytes()));
// all done. This will be sent with the request now.
}
After Change
// encode and set the authentication credentials
modified_connection.setRequestProperty(AUTHORIZATIONHDR, AUTHORIZATIONTYPE
+ new String(Base64.encodeBase64(usernameandpassword.getBytes())));
// all done. This will be sent with the request now.
}